home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 1996
/
MacHack 1996.toast
/
Presentations
/
Presentations ’92
/
PatchWorks Kit
/
Examples
/
MPW Example
/
Example.h
< prev
next >
Wrap
Text File
|
1992-04-27
|
438b
|
30 lines
/*
Example.h
Example MPW patchworks module.
by Patrick C. Beard.
*/
#pragma once
#include "GenericPatch.h"
class MenuSelectPatch : public GenericPatch {
public:
MenuSelectPatch();
virtual void Behavior(void);
private:
long itsCallCount;
};
struct MenuSelectParameters {
Point itsStartPt;
long itsResult;
};
typedef struct MenuSelectParameters MenuSelectParameters;
typedef pascal long (*MenuSelectProcPtr) (Point pt);